package com.haoting.mamba.news.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author tanghao
 * @email 767417609@qq.com
 * @date 2021-03-14 19:47:11
 */
@Data
@TableName("mamba_comments")
public class CommentsEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type= IdType.ID_WORKER_STR)
	private String id;
	/**
	 * 
	 */
	private String commentContent;
	/**
	 * 
	 */
	private String pname;
	/**
	 * 
	 */
	private Integer likeCount;
	/**
	 * 
	 */
	private Date commentCreated;
	/**
	 * 
	 */
	private String newsId;
	/**
	 * 
	 */
	private String userId;
	/**
	 * 
	 */
	private String pid;

}
